package com.qst.crop.service;

import com.qst.crop.entity.Purchase;
import com.qst.crop.entity.SellPurchase;
import com.qst.crop.model.MyPurchase;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.PageRequest;

import java.util.List;

public interface PurchaseService {

    void add(Purchase purchase);

    Purchase selectNewPurchaseId(String ownName);

    List<MyPurchase> selectByPurchaseType();

}
